﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace vuonthieunhi.Models
{
    public class ArticlesDao:BaseDao
    {
        public Article GetArticleByAllias(string allias)
        {
            return dbContext.Articles.Where(q => q.Alias.Contains(allias)).FirstOrDefault(); ;

        }
    }
}